package org.moyu.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.http.HttpStatus;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@ToString
public class SuccessResponseData extends ResponseData{

    public SuccessResponseData(Object data){
        super( HttpStatus.OK.value(), true, "请求成功", data);
    }
}
